public class Test {

  public static void main(String[] args) {

    StringBuffer sb = new StringBuffer();
    sb.append("hello");
    sb.append("\n");
    sb.append("world");

    System.out.print(sb.toString());
  }
}
